package cn.wolfcode.shop.cloud.service;


import cn.wolfcode.shop.cloud.member.domain.User;
import cn.wolfcode.shop.cloud.vo.LoginVO;


public interface IUserService {
    User get(Long id);

    /*
     * 登录
     * @param loginVO
     * @return
     */
    String login(LoginVO loginVO);


    /**
     * 刷新redis中key的过期时间
     * @param token
     * @return
     */
    boolean refreshTime(String token);

    User getCurrent(String token);
}
